﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site/QuanLyTiepNhan/QuanLyTiepNhan.Master" AutoEventWireup="true" CodeBehind="DanhSachBenhNhanTiepNhan.aspx.cs" Inherits="HospitalManager.QuanLyTiepNhan.TiepNhanBenhNhan.DanhSachBenhNhanTiepNhan" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script type="text/javascript">
        $(function () {
            $("#btnTimKiem").focus();
            $("#li_tiepnhanbenhnhan").addClass("active");
        });
        
        function validationform_Timkiem() {
            $("#txtTuNgay").rules("add", {
                required: true,
                messages: {
                    required: MsErrorEmpty
                }
            });
            $("#txtDenNgay").rules("add", {
                required: true,
                messages: {
                    required: MsErrorEmpty
                }
            });
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="row">
        <div class="form-horizontal">
            <div class="col-xs-4 col-md-4">
                <div class="input-group">
                    <span class="input-group-addon">Từ ngày</span>
                    <asp:TextBox ID="txtTuNgay" ClientIDMode="Static" runat="server" CssClass="form-control ipdate dateFormat"
                        placeholder="Từ ngày"></asp:TextBox>
                    <span class="input-group-addon" style="border-right: 0;">đến ngày</span>
                    <asp:TextBox ID="txtDenNgay" ClientIDMode="Static" runat="server" CssClass="form-control ipdate dateFormat"
                        placeholder="Đến ngày"></asp:TextBox>
                </div>
            </div>
            <div class="col-xs-4 col-md-4">
                <asp:Button ID="btnTimKiem" ClientIDMode="Static" runat="server" Text="Tìm kiếm" CssClass="btn btn-default"
                    OnClientClick="validationform_Timkiem()" OnClick="btnTimKiem_Click" />
                <asp:Button ID="btnThemMoi" ClientIDMode="Static" runat="server" Text="Thêm mới" CssClass="btn btn-success" OnClick="btnThemMoi_Click" />
            </div>
        </div>
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="FormContent" runat="server">
</asp:Content>
